package com.yxw.yx_hotel.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value="UserAccountUpdateDTO", description="修改客户子账号dto")
public class UserAccountDeleteDTO implements Serializable {

    @ApiModelProperty(value = "当前登录人userId = 主账户人id", required = true)
    @NotNull(message = "当前登录人userId不能为空！")
    private Long loginUserId;

    @ApiModelProperty(value = "需要修改的子账户userId", required = true)
    @NotNull(message = "需要修改的子账户userId不能为空！")
    private Long userId;
}
